﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using MyWeb.Common;
using MyWeb.Business;
using MyWeb.Data;

namespace MobileRecharge
{
    public partial class MyBill : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                Session["folder"] = "MyBill";
                BindGrid();
            }
        }
        private void BindGrid()
        {
            tb_PaymentInfo data= new tb_PaymentInfo();
            data.UserName = Session["Username"].ToString();
            grdtb_MyBill.DataSource = tb_PaymentService.tb_PaymentService_GetByUName(data);
            grdtb_MyBill.DataBind();
        }

       
    }
}